package com.xihuanjun.sdk.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;


/**
 * 凭证主表
 */
@Data
@ToString
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class JournalEntries  extends BaseEntity{




    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date ReferenceDate;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date TaxDate;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date DueDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Memo;



    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<JournalEntry> JournalEntryLines;


}
